using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_present_consume
    {
        private int? _id;
        private int? _prsid;
        private int? _gid;
        private int? _pid;
        private string _prsname = String.Empty;
        private string _simg = String.Empty;
        private string _bimg = String.Empty;
        private string _prscomment = String.Empty;
        private decimal _prsscore;
        private int? _uid;
        private DateTime? _condate;
        private int? _precount;
        private decimal _concount;
        private DateTime? _enddate;
        private string _prscode = String.Empty;
        private byte _prstype;
        private byte _status;
        private string _modiuser = String.Empty;
        private DateTime? _modidate;
        private string _modicomment = String.Empty;
        private string _fogid = String.Empty;
        private string _verifycode = String.Empty;

        public hfg_present_consume()
        {
        }

      

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _prsid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _gid = reader.GetInt32(2);
        //        if (!reader.IsDBNull(3)) _pid = reader.GetInt32(3);
        //        if (!reader.IsDBNull(4)) _prsname = reader.GetString(4);
        //        if (!reader.IsDBNull(5)) _simg = reader.GetString(5);
        //        if (!reader.IsDBNull(6)) _bimg = reader.GetString(6);
        //        if (!reader.IsDBNull(7)) _prscomment = reader.GetString(7);
        //        if (!reader.IsDBNull(8)) _prsscore = reader.GetDecimal(8);
        //        if (!reader.IsDBNull(9)) _uid = reader.GetInt32(9);
        //        if (!reader.IsDBNull(10)) _condate = reader.GetDateTime(10);
        //        if (!reader.IsDBNull(11)) _precount = reader.GetInt32(11);
        //        if (!reader.IsDBNull(12)) _concount = reader.GetDecimal(12);
        //        if (!reader.IsDBNull(13)) _enddate = reader.GetDateTime(13);
        //        if (!reader.IsDBNull(14)) _prscode = reader.GetString(14);
        //        if (!reader.IsDBNull(15)) _prstype = reader.GetByte(15);
        //        if (!reader.IsDBNull(16)) _status = reader.GetByte(16);
        //        if (!reader.IsDBNull(17)) _modiuser = reader.GetString(17);
        //        if (!reader.IsDBNull(18)) _modidate = reader.GetDateTime(18);
        //        if (!reader.IsDBNull(19)) _modicomment = reader.GetString(19);
        //        if (!reader.IsDBNull(20)) _fogid = reader.GetString(20);
        //        if (!reader.IsDBNull(21)) _verifycode = reader.GetString(21);
        //    }
        //}

  

        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? prsid
        {
            get { return _prsid; }
            set { _prsid = value; }
        }

        public int? gid
        {
            get { return _gid; }
            set { _gid = value; }
        }

        public int? pid
        {
            get { return _pid; }
            set { _pid = value; }
        }

        public string prsname
        {
            get { return _prsname; }
            set { _prsname = value; }
        }

        public string simg
        {
            get { return _simg; }
            set { _simg = value; }
        }

        public string bimg
        {
            get { return _bimg; }
            set { _bimg = value; }
        }

        public string prscomment
        {
            get { return _prscomment; }
            set { _prscomment = value; }
        }

        public decimal prsscore
        {
            get { return _prsscore; }
            set { _prsscore = value; }
        }

        public int? uid
        {
            get { return _uid; }
            set { _uid = value; }
        }

        public DateTime? condate
        {
            get { return _condate; }
            set { _condate = value; }
        }

        public int? precount
        {
            get { return _precount; }
            set { _precount = value; }
        }

        public decimal concount
        {
            get { return _concount; }
            set { _concount = value; }
        }

        public DateTime? enddate
        {
            get { return _enddate; }
            set { _enddate = value; }
        }

        public string prscode
        {
            get { return _prscode; }
            set { _prscode = value; }
        }

        public byte prstype
        {
            get { return _prstype; }
            set { _prstype = value; }
        }

        public byte status
        {
            get { return _status; }
            set { _status = value; }
        }

        public string modiuser
        {
            get { return _modiuser; }
            set { _modiuser = value; }
        }

        public DateTime? modidate
        {
            get { return _modidate; }
            set { _modidate = value; }
        }

        public string modicomment
        {
            get { return _modicomment; }
            set { _modicomment = value; }
        }

        public string fogid
        {
            get { return _fogid; }
            set { _fogid = value; }
        }

        public string verifycode
        {
            get { return _verifycode; }
            set { _verifycode = value; }
        }
        #endregion
    }
}
